<div class="generalWrap">
	<h1 class="headingTitle"><?php echo $heading_title ?></h1>
	
	<?php if ($errors = validation_errors()) { ?>
		<div class="error">
			<?php echo $errors; ?>
		</div>
	<?php } ?>
	
	<?php echo form_open() ?>
	<?php echo form_hidden('cmd', 'login') ?>
	<table class="tblLogin">
		<tr>
			<td width="80"><?php echo form_label('Username:', 'username') ?></td>
			<td><?php echo @form_input(array('name' => 'username', 'id' => 'username')) ?></td>
		</tr>
		<tr>
			<td><?php echo form_label('Password:', 'password') ?></td>
			<td><?php echo @form_password(array('name' => 'password', 'id' => 'password')) ?></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td><?php echo form_submit('btnLogin', 'Login') ?></td>
		</tr>
	</table>
	<?php echo form_close() ?>
</div>
<script type="text/javascript"><!--
$(function() {
	$('#username').focus();
});
//--></script>